<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>js 数组</title>
		<script>
		var ar=new Array(20);
		ar.fill(15);
		alert(ar.join("#"));
		ar=ar.map((item,index)=>item=item+index);
		alert(ar.join("#"));
		</script>
	</head>
	<body>
	</body>
</html>
